.class public Lcom/instagram/android/maps/d/a;
.super Lcom/instagram/e/b/c;
.source "GeoGridFragment.java"

# interfaces
.implements Lcom/instagram/a/b;
.implements Lcom/instagram/android/fragment/a/a;


# static fields
.field private static ab:Ljava/lang/Integer;

.field public static final i:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/Integer;",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/g;",
            ">;>;"
        }
    .end annotation
.end field


# instance fields
.field protected Z:Lcom/instagram/android/maps/a/a;

.field aa:Landroid/os/Handler;

.field private ac:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/g;",
            ">;"
        }
    .end annotation
.end field

.field private ad:Lcom/instagram/android/widget/ab;

.field private ae:Lcom/instagram/android/maps/e/d;

.field private af:Lcom/instagram/android/maps/e/d;

.field private ag:Z

.field private ah:Landroid/content/BroadcastReceiver;

.field private ai:Landroid/content/BroadcastReceiver;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 47
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/instagram/android/maps/d/a;->i:Ljava/util/HashMap;

    .line 48
    const v0, 0x186a0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/e/b/c;-><init>()V

    .line 57
    new-instance v0, Lcom/instagram/android/maps/d/b;

    invoke-direct {v0, p0}, Lcom/instagram/android/maps/d/b;-><init>(Lcom/instagram/android/maps/d/a;)V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->ae:Lcom/instagram/android/maps/e/d;

    .line 78
    new-instance v0, Lcom/instagram/android/maps/d/d;

    invoke-direct {v0, p0}, Lcom/instagram/android/maps/d/d;-><init>(Lcom/instagram/android/maps/d/a;)V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->ah:Landroid/content/BroadcastReceiver;

    .line 85
    new-instance v0, Lcom/instagram/android/maps/d/e;

    invoke-direct {v0, p0}, Lcom/instagram/android/maps/d/e;-><init>(Lcom/instagram/android/maps/d/a;)V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->ai:Landroid/content/BroadcastReceiver;

    .line 98
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->aa:Landroid/os/Handler;

    return-void
.end method

.method private Z()V
    .locals 2

    .prologue
    .line 105
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ah:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 107
    const-string v0, "GeoGridFragment"

    const-string v1, "handleCancel()"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 109
    iget-boolean v0, p0, Lcom/instagram/android/maps/d/a;->ag:Z

    if-eqz v0, :cond_0

    .line 112
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->a(Z)V

    .line 122
    :goto_0
    return-void

    .line 115
    :cond_0
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ae:Lcom/instagram/android/maps/e/d;

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->b(Lcom/instagram/android/maps/e/d;)V

    .line 118
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->ab()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->c(Ljava/util/Collection;)V

    .line 120
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->onBackPressed()V

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/maps/d/a;Lcom/instagram/android/widget/ab;)Lcom/instagram/android/widget/ab;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    iput-object p1, p0, Lcom/instagram/android/maps/d/a;->ad:Lcom/instagram/android/widget/ab;

    return-object p1
.end method

.method private a(Landroid/view/View;)V
    .locals 5
    .parameter

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 232
    sget v0, Lcom/facebook/aw;->layout_geogrid_bar:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/maps/e/a;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    invoke-virtual {v3, v0}, Landroid/view/View;->setVisibility(I)V

    .line 233
    sget v0, Lcom/facebook/aw;->layout_geogrid_button_select_all:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v4, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    invoke-virtual {v0, v4}, Lcom/instagram/android/maps/e/a;->d(Ljava/util/Collection;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v4, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-eq v0, v4, :cond_1

    move v0, v2

    :goto_1
    invoke-virtual {v3, v0}, Landroid/view/View;->setEnabled(Z)V

    .line 234
    sget v0, Lcom/facebook/aw;->layout_geogrid_button_unselect_all:I

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v3

    iget-object v4, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    invoke-virtual {v3, v4}, Lcom/instagram/android/maps/e/a;->d(Ljava/util/Collection;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_2

    :goto_2
    invoke-virtual {v0, v2}, Landroid/view/View;->setEnabled(Z)V

    .line 235
    return-void

    .line 232
    :cond_0
    const/16 v0, 0x8

    goto :goto_0

    :cond_1
    move v0, v1

    .line 233
    goto :goto_1

    :cond_2
    move v2, v1

    .line 234
    goto :goto_2
.end method

.method static synthetic a(Lcom/instagram/android/maps/d/a;)V
    .locals 0
    .parameter

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->aa()V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/maps/d/a;Landroid/view/View;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    invoke-direct {p0, p1}, Lcom/instagram/android/maps/d/a;->a(Landroid/view/View;)V

    return-void
.end method

.method public static a(Ljava/util/List;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/g;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 381
    sget-object v0, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    sget-object v0, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    .line 382
    sget-object v0, Lcom/instagram/android/maps/d/a;->i:Ljava/util/HashMap;

    sget-object v1, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    invoke-virtual {v0, v1, p0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 383
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 384
    const-string v1, "com.instagram.android.fragment.ARGUMENT_GEO_MEDIA_BUCKET"

    sget-object v2, Lcom/instagram/android/maps/d/a;->ab:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 386
    new-instance v1, Lcom/instagram/e/b/a/a;

    invoke-static {}, Lcom/instagram/android/service/e;->a()Lcom/instagram/android/service/e;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/android/service/e;->b()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/maps/d/a;

    invoke-direct {v2}, Lcom/instagram/android/maps/d/a;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 389
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/maps/d/a;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    iput-boolean p1, p0, Lcom/instagram/android/maps/d/a;->ag:Z

    return p1
.end method

.method private declared-synchronized aa()V
    .locals 4

    .prologue
    .line 148
    monitor-enter p0

    :try_start_0
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ah:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 150
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/maps/e/a;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 151
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ah:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "BROADCAST_PHOTOMAPS_BACK_PRESSED"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 154
    :cond_0
    monitor-exit p0

    return-void

    .line 148
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private ab()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/g;",
            ">;"
        }
    .end annotation

    .prologue
    .line 364
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    if-nez v0, :cond_1

    .line 365
    sget-object v0, Lcom/instagram/android/maps/d/a;->i:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "com.instagram.android.fragment.ARGUMENT_GEO_MEDIA_BUCKET"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    .line 366
    if-nez v0, :cond_0

    .line 367
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 368
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->m()Landroid/support/v4/app/r;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/r;->e()Z

    .line 370
    :cond_0
    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    .line 372
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ac:Ljava/util/List;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/maps/d/a;)V
    .locals 0
    .parameter

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->Z()V

    return-void
.end method

.method static synthetic c(Lcom/instagram/android/maps/d/a;)Ljava/util/List;
    .locals 1
    .parameter

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->ab()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/maps/d/a;)Lcom/instagram/android/widget/ab;
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ad:Lcom/instagram/android/widget/ab;

    return-object v0
.end method


# virtual methods
.method public X()V
    .locals 0

    .prologue
    .line 378
    return-void
.end method

.method protected Y()Lcom/instagram/android/maps/a/a;
    .locals 2

    .prologue
    .line 238
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->Z:Lcom/instagram/android/maps/a/a;

    if-nez v0, :cond_0

    .line 239
    new-instance v0, Lcom/instagram/android/maps/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/maps/a/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->Z:Lcom/instagram/android/maps/a/a;

    .line 241
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->Z:Lcom/instagram/android/maps/a/a;

    return-object v0
.end method

.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    .line 176
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->Z:Lcom/instagram/android/maps/a/a;

    invoke-virtual {v0}, Lcom/instagram/android/maps/a/a;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 177
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->aa:Landroid/os/Handler;

    new-instance v1, Lcom/instagram/android/maps/d/f;

    invoke-direct {v1, p0}, Lcom/instagram/android/maps/d/f;-><init>(Lcom/instagram/android/maps/d/a;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 184
    const/4 v0, 0x0

    .line 221
    :goto_0
    return-object v0

    .line 187
    :cond_0
    sget v0, Lcom/facebook/ax;->layout_geogrid:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 188
    const v0, 0x102000a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    .line 190
    sget v2, Lcom/facebook/aw;->layout_geogrid_button_select_all:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    new-instance v3, Lcom/instagram/android/maps/d/g;

    invoke-direct {v3, p0}, Lcom/instagram/android/maps/d/g;-><init>(Lcom/instagram/android/maps/d/a;)V

    invoke-virtual {v2, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 198
    sget v2, Lcom/facebook/aw;->layout_geogrid_button_unselect_all:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    new-instance v3, Lcom/instagram/android/maps/d/h;

    invoke-direct {v3, p0}, Lcom/instagram/android/maps/d/h;-><init>(Lcom/instagram/android/maps/d/a;)V

    invoke-virtual {v2, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 206
    sget v2, Lcom/facebook/at;->gray:I

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setBackgroundResource(I)V

    .line 208
    invoke-direct {p0, v1}, Lcom/instagram/android/maps/d/a;->a(Landroid/view/View;)V

    .line 210
    new-instance v0, Lcom/instagram/android/maps/d/i;

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/maps/d/i;-><init>(Lcom/instagram/android/maps/d/a;Landroid/view/View;)V

    iput-object v0, p0, Lcom/instagram/android/maps/d/a;->af:Lcom/instagram/android/maps/e/d;

    .line 219
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v2, p0, Lcom/instagram/android/maps/d/a;->af:Lcom/instagram/android/maps/e/d;

    invoke-virtual {v0, v2}, Lcom/instagram/android/maps/e/a;->a(Lcom/instagram/android/maps/e/d;)V

    move-object v0, v1

    .line 221
    goto :goto_0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 246
    new-instance v0, Lcom/instagram/android/maps/d/j;

    invoke-direct {v0, p0}, Lcom/instagram/android/maps/d/j;-><init>(Lcom/instagram/android/maps/d/a;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 5
    .parameter

    .prologue
    .line 126
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->a(Landroid/os/Bundle;)V

    .line 128
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v1

    .line 129
    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->ab()Ljava/util/List;

    move-result-object v2

    .line 131
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/g;

    .line 132
    invoke-virtual {v0}, Lcom/instagram/android/model/g;->g()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/j/l;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 133
    new-instance v4, Landroid/content/IntentFilter;

    invoke-direct {v4, v0}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    .line 134
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ai:Landroid/content/BroadcastReceiver;

    invoke-virtual {v1, v0, v4}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    goto :goto_0

    .line 137
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->Y()Lcom/instagram/android/maps/a/a;

    move-result-object v0

    .line 138
    invoke-virtual {v0, v2}, Lcom/instagram/android/maps/a/a;->a(Ljava/util/List;)V

    .line 139
    invoke-virtual {p0, v0}, Lcom/instagram/android/maps/d/a;->a(Landroid/widget/ListAdapter;)V

    .line 141
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/maps/e/a;->b()Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x1

    :goto_1
    iput-boolean v0, p0, Lcom/instagram/android/maps/d/a;->ag:Z

    .line 143
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ae:Lcom/instagram/android/maps/e/d;

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->a(Lcom/instagram/android/maps/e/d;)V

    .line 144
    return-void

    .line 141
    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 393
    const-string v0, "feed_geomedia"

    return-object v0
.end method

.method public g_()V
    .locals 2

    .prologue
    .line 226
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->af:Lcom/instagram/android/maps/e/d;

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->b(Lcom/instagram/android/maps/e/d;)V

    .line 228
    invoke-super {p0}, Lcom/instagram/e/b/c;->g_()V

    .line 229
    return-void
.end method

.method public w()V
    .locals 2

    .prologue
    .line 160
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Lcom/instagram/android/activity/MainTabActivity;

    if-eqz v0, :cond_0

    .line 162
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 163
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/MainTabActivity;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/instagram/android/activity/MainTabActivity;->b(I)V

    .line 167
    :cond_0
    invoke-direct {p0}, Lcom/instagram/android/maps/d/a;->aa()V

    .line 169
    invoke-super {p0}, Lcom/instagram/e/b/c;->w()V

    .line 170
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 344
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ad:Lcom/instagram/android/widget/ab;

    if-eqz v0, :cond_0

    .line 345
    iget-object v0, p0, Lcom/instagram/android/maps/d/a;->ad:Lcom/instagram/android/widget/ab;

    invoke-virtual {v0}, Lcom/instagram/android/widget/ab;->dismiss()V

    .line 350
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    instance-of v0, v0, Lcom/instagram/android/activity/MainTabActivity;

    if-eqz v0, :cond_1

    .line 352
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x30

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 354
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/activity/MainTabActivity;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/activity/MainTabActivity;->b(I)V

    .line 358
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ah:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 360
    invoke-super {p0}, Lcom/instagram/e/b/c;->x()V

    .line 361
    return-void
.end method

.method public y()V
    .locals 3

    .prologue
    .line 336
    sget-object v0, Lcom/instagram/android/maps/d/a;->i:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "com.instagram.android.fragment.ARGUMENT_GEO_MEDIA_BUCKET"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 337
    invoke-static {}, Lcom/instagram/android/maps/e/a;->a()Lcom/instagram/android/maps/e/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ae:Lcom/instagram/android/maps/e/d;

    invoke-virtual {v0, v1}, Lcom/instagram/android/maps/e/a;->b(Lcom/instagram/android/maps/e/d;)V

    .line 338
    invoke-virtual {p0}, Lcom/instagram/android/maps/d/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/maps/d/a;->ai:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 339
    invoke-super {p0}, Lcom/instagram/e/b/c;->y()V

    .line 340
    return-void
.end method
